﻿using System.Collections.Generic;
public class Layer {
    // string _name;
    // MyPoint _point;
    // List<MyPoint> _viewData;
    // public string name => "";
    public string name {set; get;} = "";
    MyPoint _point = new MyPoint(0, 0);
    public MyPoint point {
        set {
            _point = value;
        }
        get {
            return _point;
        }
    }
    // public List<MyPoint> viewData => new List<MyPoint>();
    List<MyPoint> _viewData = new List<MyPoint>();
    public List<MyPoint> viewData {set {
            _viewData = value;
        }
        get {
            
            return _viewData;
        }
    }
    // 构造函数 相当于 oc 中的init
    public Layer() {

    }
    // // 析构函数 相当于 oc 中的 delloc
    // ~ Layer() {

    // }
}
